'use strict';

const { Service } = require('egg');
const ModelName = 'DailySummary'
class RouterService extends Service {
    async getSummaryData(where) {
        return this.ctx.model[ModelName].findOne({
            where
        });
    }
}

module.exports = RouterService;
